﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using com.loto.Common.DBUtility;

namespace com.huigo.Framework.SqlServerDal
{
    public partial class Other
    {
        public static string GetIndex()
        {
            string index = "";
            try
            {
                SqlDataReader reader = SqlHelper.ExecuteReaderByStoredProcedure(SqlHelper.MainSQLConnString, "SP_GET_INDEX", null);
                if (reader.Read())
                    index = reader[0].ToString();

            }
            catch (Exception exce)
            {
                throw exce;
            }
            return index;
        }
    }
}
